package com.qzing.springbootmybatisdemo05.pojo;


//
///// 比赛奖池表(庄家角色)
//CREATE TABLE `gpools` (
//        `id` int(11) NOT NULL AUTO_INCREMENT,
//        `matchid` int(11) NOT NULL COMMENT '比赛ID',
//        `win` int(8) DEFAULT NULL COMMENT '胜赔率\n例如:\n1.56 => 15600\n',
//        `draw` int(8) DEFAULT NULL COMMENT '平赔率',
//        `loss` int(8) DEFAULT NULL COMMENT '负赔率',
//        `userid` varchar(255) NOT NULL COMMENT '庄家用户(地址)',
//        `maxloss` int(8) NOT NULL COMMENT '最大净亏损',
//        `wrest` int(8) DEFAULT NULL COMMENT '胜选项剩余可用投注额',
//        `drest` int(8) DEFAULT NULL COMMENT '平选项剩余可用投注额',
//        `lrest` int(8) DEFAULT NULL COMMENT '负选项剩余可用投注额',
//        `status` int(1) DEFAULT 0 COMMENT '奖池状态: 创建、开售、停售、算奖、结束' ,
//        PRIMARY KEY (`id`) USING BTREE
//        ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;
//


/**
 * @Description: TODO
 * @author: scott
 * @date: 2023年02月06日 16:17
 */
public class GPools {
    private Integer id;
    private Integer matchid;
    private Integer win;
    private Integer draw;
    private Integer loss;
    private String userid;
    private Integer maxloss;
    private Integer wrest;
    private Integer drest;
    private Integer lrest;
    private Integer status;

    public GPools(Integer id, Integer matchid, Integer win, Integer draw, Integer loss, String userid, Integer maxloss, Integer wrest, Integer drest, Integer lrest, Integer status) {
        this.id = id;
        this.matchid = matchid;
        this.win = win;
        this.draw = draw;
        this.loss = loss;
        this.userid = userid;
        this.maxloss = maxloss;
        this.wrest = wrest;
        this.drest = drest;
        this.lrest = lrest;
        this.status = status;
    }

    public GPools() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMatchid() {
        return matchid;
    }

    public void setMatchid(Integer matchid) {
        this.matchid = matchid;
    }

    public Integer getWin() {
        return win;
    }

    public void setWin(Integer win) {
        this.win = win;
    }

    public Integer getDraw() {
        return draw;
    }

    public void setDraw(Integer draw) {
        this.draw = draw;
    }

    public Integer getLoss() {
        return loss;
    }

    public void setLoss(Integer loss) {
        this.loss = loss;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public Integer getMaxloss() {
        return maxloss;
    }

    public void setMaxloss(Integer maxloss) {
        this.maxloss = maxloss;
    }

    public Integer getWrest() {
        return wrest;
    }

    public void setWrest(Integer wrest) {
        this.wrest = wrest;
    }

    public Integer getDrest() {
        return drest;
    }

    public void setDrest(Integer drest) {
        this.drest = drest;
    }

    public Integer getLrest() {
        return lrest;
    }

    public void setLrest(Integer lrest) {
        this.lrest = lrest;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "GPools{" +
                "id=" + id +
                ", matchid=" + matchid +
                ", win=" + win +
                ", draw=" + draw +
                ", loss=" + loss +
                ", userid='" + userid + '\'' +
                ", maxloss=" + maxloss +
                ", wrest=" + wrest +
                ", drest=" + drest +
                ", lrest=" + lrest +
                ", status=" + status +
                '}';
    }
}
